* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
    background: #000;
    height: 100vh;
    position: relative;
    touch-action: pan-y;
}

/* 图片容器 */
.image-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateY(20px);
}

.image-slide.active {
    opacity: 1;
    transform: translateY(0);
}

.image-slide img {
    width: 100%;
    height: 100vh;
    object-fit: contain;
    object-position: center;
    background: #000;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .image-slide img {
        width: 100vw;
        height: 100vh;
        object-fit: contain;
        object-position: center;
    }
}

/* 确保图片在小屏幕上完整显示 */
@media (max-width: 480px) {
    .image-slide img {
        max-width: 100%;
        max-height: 100vh;
        object-fit: contain;
    }
}

/* 音乐控制按钮 */
.music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.music-control:hover {
    transform: scale(1.1);
}

.music-control.playing {
    animation: musicPulse 2s infinite;
}

.music-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.music-control.muted .music-icon {
    transform: scale(0.8);
    opacity: 0.5;
}

@keyframes musicPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 滑动提示 */
.swipe-hint {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 1000;
    animation: bounce 2s infinite;
}

.hint-arrow {
    font-size: 24px;
    margin-bottom: 5px;
    animation: arrowBounce 1.5s infinite;
}

.hint-text {
    font-size: 14px;
    opacity: 0.8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* 进度指示器 */
.progress-indicator {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: white;
    transform: scale(1.2);
}

/* 隐藏提示动画 */
.swipe-hint.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    transition: all 0.5s ease;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .music-control {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
    }
    
    .music-icon {
        font-size: 18px;
    }
    
    .hint-text {
        font-size: 12px;
    }
    
    .progress-dot {
        width: 6px;
        height: 6px;
    }
}

/* 防止图片拖拽 */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* 防止文本选择 */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}